rust-bindings/tests: Display no longer implemented, but Debug is
authorMary Strodl <ipadlover8322@gmail.com>
Fri, 3 Jan 2025 13:59:38 +0000 (08:59 -0500)
committerColin Walters <walters@verbum.org>
Sat, 1 Feb 2025 15:53:21 +0000 (10:53 -0500)
Signed-off-by: Colin Walters <walters@verbum.org>
rust-bindings/tests/functions/mod.rs

index 610ff7805886cb0d7cc50fa7ee3bfebd71d34a9d..a15961fbe12e35b925a26d49cbbece0094ae0c8e 100644 (file)
@@ -30,7 +30,7 @@ fn list_repo_objects() {
                 commit_cnt += 1;
             }
             x => {
-                panic!("unexpected object type {}", x);
+                panic!("unexpected object type {x:?}");
             }
         }
     }